<nav class="navbar navbar-default" role="navigation">
  <div class="container">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="javascript:void(0)">小小博客</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav" id="menulist">
        <li class="active"><a href="javascript:void(0)" code="000">首页</a></li>
        {{each menulist}}
          <li><a href="javascript:void(0)" code="${$value.code}">${$value.name}</a></li>
        {{/each}}
        
      </ul>
      <ul class="nav navbar-nav navbar-right">
        {{if login}}
        <li class="dropdown">
          <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown" qq="${qq}" id="idetail1013">${name}<span class="caret"></span></a>
          <ul class="dropdown-menu" role="menu">
            <li><a href="javascript:void(0)" id="myself1027">我的信息</a></li>
            <li><a href="javascript:void(0)" id="loginout">退出</a></li>
          </ul>
        </li>
        {{else}}
        <li><a href="javascript:void(0)" id="login1013">登录</a></li>
        {{/if}}
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container -->
</nav>
<div class="container" id="container">
  
</div>
<footer class="container">
  <p class="text-center"><small>备份成员信息，供不时之需</small></p>  
</footer>
